inherit

fun <T : Throwable> T.inherit(other: Throwable): T(source)